<?php
/**
 * aheadWorks Co.
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the EULA
 * that is bundled with this package in the file LICENSE.txt.
 * It is also available through the world-wide-web at this URL:
 * http://ecommerce.aheadworks.com/LICENSE-M1.txt
 *
 * @category   AW
 * @package    AW_Mobile
 * @copyright  Copyright (c) 2010-2011 aheadWorks Co. (http://www.aheadworks.com)
 * @license    http://ecommerce.aheadworks.com/LICENSE-M1.txt
 */
?>
<?php $_product = $this->getProduct() ?>
<?php if($_product->isSaleable()): ?>
<div class="product-action">
<div class="product-addtocart">
	<div class="qty-box">
		<fieldset class="add-to-cart-box">
			<legend><?php echo $this->__('Add Items to Cart') ?></legend>
			<?php if(!$_product->isGrouped()): ?>
			<span class="qty-box"><label for="qty"><?php echo $this->__('Quantity') ?>:</label>
			<select name="qty">
				<?php for ($i=1;$i<=100;$i++): ?>
				<option value="<?php echo $i ?>"><?php echo $i ?></option>
				<?php endfor; ?>
			</select> Unit(s)
			<?php endif; ?>
		</fieldset>
	</div>
	<div class="add-to-cart">
		<a href="#" class="btn-add-to-cart" onclick="productAddToCartForm.submit(); return false;" ><?php echo $this->__('Add to Cart') ?></a>
	</div>
</div>
</div>
<?php endif; ?>
